<template>
  <div class="footer-box">
    <div class="desc-wrapper">
      <div class="desc-box">物联网智库 —— <span class="main">研究型智能产业服务平台</span></div>
    </div>
    <div class="content-wrapper">
      <div class="content-box">
        <div class="left-box">
          <div class="logo"></div>
          <div class="title">物联网智库</div>
          <div class="subtitle">—— iot101 ——</div>
        </div>
        <div class="middle-box">
          <div class="midItem" v-for="(item, index) of list" :key="index">
            <div class="title">{{item.title}}</div>
            <div class="subtitle" v-for="(subItem, subIndex) of item.subList" :key="subIndex">
              <a :href="subItem.href">{{subItem.subtitle}}</a>
            </div>
          </div>
        </div>
        <div class="right-box">
          <div class="ercode-box">
            <div class="ercode"></div>
          </div>
          <div class="ercode-name">智吱屋小程序</div>
        </div>
      </div>
    </div>
    <div class="record-wrapper">
      <div class="record-box">
        <div class="service">本站由 阿里云 提供计算与安全服务 违法和不良信息举报电话：010-88884220 举报邮箱：liuzong@zzw.com 网上有害信息举报</div>
        <div class="record-list">
          <div class="record1">©2020 北京英维塔科技有限公司 京ICP备16012223号-1</div>
          <div class="record2">
            <div class="icon"></div>
            <a href="https://beian.miit.gov.cn">京ICP备16012223号</a>
          </div>
          <div class="right-msg">
            <div class="logo"></div>
            物联网智库 —— <span class="main">研究型智能产业服务平台</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        {
          title: '关于物联网智库',
          subList: [
            {
              subtitle: '关于我们',
              href: '/#/cooperation'
            },
            {
              subtitle: '联系我们',
              href: '/#/cooperation?to=two'
            },
            {
              subtitle: '智吱屋',
              href: '/#/zjw'
            },
            // {
            //   subtitle: '网站地图',
            //   href: ''
            // }
          ]
        },
        {
          title: '合作伙伴',
          subList: [
            {
              subtitle: '雷锋网',
              href: 'https://www.leiphone.com/'
            },
            {
              subtitle: '智东西',
              href: 'https://zhidx.com/'
            },
            {
              subtitle: 'C114',
              href: 'http://www.c114.com.cn/'
            },
            {
              subtitle: '通信世界',
              href: 'http://www.cww.net.cn/'
            }
          ]
        },
        {
          title: '',
          subList: [
            {
              subtitle: '中关村在线',
              href: 'http://www.zol.com.cn/'
            },
            {
              subtitle: 'cnBeta',
              href: 'https://www.cnbeta.com/'
            },
            {
              subtitle: '快科技',
              href: 'https://www.mydrivers.com/'
            },
            {
              subtitle: '与非网',
              href: 'https://www.eefocus.com/'
            }
          ]
        // },
        // {
        //   title: '',
        //   subList: [
        //     {
        //       subtitle: '阿里妈妈',
        //       href: 'http://www.baidu.com'
        //     },
        //     {
        //       subtitle: '优优教程网',
        //       href: 'http://www.baidu.com'
        //     }
        //   ]
        // },
        // {
        //   title: '',
        //   subList: [
        //     {
        //       subtitle: 'MUXAlibaba',
        //       href: 'http://www.baidu.com'
        //     },
        //     {
        //       subtitle: 'Bootstrap',
        //       href: 'http://www.baidu.com'
        //     }
        //   ]
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.footer-box {
  .desc-wrapper {
    background: #0F1010;
    font-family: PingFangSC-Medium, PingFang SC;
    .desc-box {
      width: 1180px;
      height: 60px;
      line-height: 60px;
      margin: 0 auto;
      text-align: center;
      font-size: 16px;
      
      font-weight: 400;
      color: #FFFFFF;
      background: #0F1010;
      .main {
        color: #FF9195;
      }
    }
  }
  .content-wrapper {
    background: #191A1A;
    .content-box {
      width: 1180px;
      height: 236px;
      background: #191A1A;
      border-bottom: 1px solid #2B2D2D;
      margin: 0 auto;
      padding-top: 48px;
      box-sizing: border-box;
      overflow: hidden;
      .left-box {
        float: left;
        width: 140px;
        height: 140px;
        background: #191A1A;
        border-radius: 8px;
        border: 2px solid #2B2D2D;
        .logo {
          width: 52px;
          height: 52px;
          background: url('../../assets/zhiku.png') no-repeat;
          background-size: cover;
          margin: 22px auto 12px;
        }
        .title {
          font-size: 16px;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
          color: #D8D8D8;
          line-height: 22px;
          text-align: center;
        }
        .subtitle {
          font-size: 8px;
          
          font-weight: 400;
          color: #D8D8D8;
          line-height: 12px;
          margin-bottom: 2px;
          text-align: center;
        }
      }
      .middle-box {
        margin-left: 100px;
        float: left;
        overflow: hidden;
        .midItem {
          float: left;
          width: 120px;
          margin-right: 20px;
          .title {
            height: 28px;
            font-size: 16px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #D8D8D8;
            line-height: 28px;
            margin-bottom: 16px;
          }
          .subtitle {
            a {
              text-decoration: none;
              font-size: 12px;
              
              font-weight: 400;
              color: #A8A8A8;
              line-height: 24px;
            }
          }
        }
      }
      .right-box {
        float: right;
        .ercode-box {
          width: 88px;
          height: 88px;
          background: #FFFFFF;
          border-radius: 4px;
          margin-top: 8px;
          margin-bottom: 12px;
          padding-top: 8px;
          box-sizing: border-box;
          .ercode {
            width: 72px;
            height: 72px;
            margin: 0 auto;
            background: url('../../assets/ercoed.jpg') no-repeat;
            background-size: cover;
          }
        }
        .ercode-name {
          width: 88px;
          height: 24px;
          line-height: 24px;
          background: #4C4C4C;
          border-radius: 4px;
          font-size: 12px;
          
          font-weight: 400;
          color: #FFFFFF;
          text-align: center;
        }
      }
    }
  }
  .record-wrapper {
    background: #191A1A;
    .record-box {
      width: 1180px;
      height: 120px;
      padding-top: 24px;
      box-sizing: border-box;
      margin: 0 auto;
      position: relative;
      .service {
        font-size: 12px;
        
        font-weight: 400;
        color: #D8D8D8;
        margin-bottom: 8px;
        line-height: 18px;
      }
      .record-list {
        overflow: hidden;
        .record1 {
          font-size: 12px;
          
          font-weight: 400;
          color: #696969;
          line-height: 18px;
          margin-right: 50px;
          float: left;
        }
        .record2 {
          font-size: 12px;
          
          font-weight: 400;
          color: #696969;
          line-height: 18px;
          float: left;
          .icon {
            width: 14px;
            height: 14px;
            background: url('../../assets/guohui.png') no-repeat;
            background-size: cover;
            margin-right: 3px;
            float: left;
            margin-top: 2px;
          }
          a {
                      color: #696969;

          }
        }
        .right-msg {
          position: absolute;
          top: 34px;
          right: 0;
          font-size: 16px;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
          color: #A8A8A8;
          line-height: 24px;
          .logo {
            width: 24px;
            height: 24px;
            background: url('../../assets/zhiku.png') no-repeat;
            background-size: cover;
            display: inline-block;
            margin-right: 8px;
            vertical-align: top;
          }
        }
      }
    }
  }
}
</style>